package com.bmps.springcloud.insuredmicroservice.repository.accept.master;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author jackdaw
 */
@Repository
public interface SysRedisRepository {
    /**
     * 查询数据库存在的缓存信息
     *
     * @param key logickey
     * @return logicvalue
     */
    @Select({"SELECT logicvalue FROM sys_redis WHERE logickey=#{key,jdbcType=VARCHAR}"})
    String query(String key);
}
